Prizm Content Connect Plus has a built-in script to generate thumbnail images of the various pages of documents. These thumbnails can be displayed as .swf image files or as .png image files in the client applications.
For creating a batch process or other custom application, thumbnails can be generated using convert2swfclient.jar or by using the ProxyWebService.
Thumbnail related arguments:
- source: the source folder and file for conversion
- target: the target folder and target file
- thumbnail: specifies thumbnail image width and height (e.g., 150x200)
- wtmtext: adds watermark on each page
The Watermark feature requires a full license key.
- wtmfont: watermark font, default: Helvetica
- wtmsize: watermark size, default: 130
- wtmalpha: watermark opacity (1-100), default: 10
|
Generating Thumbnails Using convert2swfclient
Example 1:
To create a thumbnail of page 1 of sample.tiff:
Copy Code | |
---|---|
java -jar <prizm-install>/convert2swfclient.jar source=/path/to/sample.tiff thumbnail=100x100 pages=1 |
Example 2:
To create a thumbnail of all pages of sample.tiff:
Copy Code | |
---|---|
java -jar <prizm-install>/convert2swfclient.jar source=/path/to/sample.tiff thumbnail=100x100 |
Example 3:
The Watermark feature requires a full license key. |
To create a thumbnail of sample.tiff, specify target location, and add watermark “Approved” on each thumbnail:
Copy Code | |
---|---|
java -jar <prizm-install>/convert2swfclient.jar source= /path/to/sample.tiff target=/other/path/to/ thumbnail=100x100 wtmtext=Approved wtmfont=Helvetica wtmsize=50 wtmalpha=70 |